
// test_gpisDlg.h : header file
//

#pragma once


// Ctest_gpisDlg dialog
class Ctest_gpisDlg : public CDialogEx
{
// Construction
public:
	Ctest_gpisDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_TEST_GPIS_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonCreatechannel();
	afx_msg void OnBnClickedButtonInitengine();
	afx_msg void OnBnClickedButtonDestroyengine();
	afx_msg void OnBnClickedButtonDeletechannel();
	afx_msg void OnBnClickedButtonStartsend();
	afx_msg void OnBnClickedButtonStartreceive();
	afx_msg void OnBnClickedButtonStartplayout();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonStopsend();
	afx_msg void OnBnClickedButtonStopreceive();
	afx_msg void OnBnClickedButtonStopplayout();
	afx_msg void OnBnClickedButtonExit();
	afx_msg void OnBnClickedButtonVad();
	afx_msg void OnBnClickedButtonMute();
	afx_msg void OnBnClickedButtonHold();
	afx_msg void OnBnClickedButtonRxAgc();
	afx_msg void OnBnClickedButtonRxNs();
	afx_msg void OnBnClickedButtonAgc();
	afx_msg void OnBnClickedButtonNs();
	afx_msg void OnBnClickedButtonEc();
	afx_msg void OnBnClickedButtonSetcodec();


protected:
	int m_iChannelId;
	bool m_bEngineInitialized;
	void OutputInformation(CString csInfo);
	void CheckCodecs();
};
